{% extends "base.html" %}
{% load static %}

{% block headjs %}

{% endblock %}

{% block content %}

    <div class="container">
        <h1>备忘列表</h1>
        <div class="row">
            <div class="col-md-12">
                <div class="card">
                    <div class="card-body">
                    <p class="card-text">
                        <a class="btn btn-primary" href="{% url 'tool_user_zhanneixin_add' %}">添加备忘</a>
                    </p>
                        <p class="card-text">
                             <ul class="list-group">
                                {% for item in beiwangs %}
                                   <li class="list-group-item"><a href="{% url 'beiwang_detail' item.id %}">{{ item.title }}</a> <a class="btn btn-danger" href="{% url 'beiwang_delete' item.id %}">删除</a>    </li>
                                {% endfor %}


  </ul>
                        </p>
                    </div>
                </div>
            </div>
        </div>

    </div>

{% endblock %}
